package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * record对象 execution_record
 * 
 * @author ruoyi
 * @date 2023-10-19
 */
public class ExecutionRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 执行人 */
    @Excel(name = "执行人")
    private String name;

    /** 总条数 */
    @Excel(name = "总条数")
    private Long total;

    /** 成功条数 */
    @Excel(name = "申请成功条数")
    private Long successTotal;

    /** 失败条数 */
    @Excel(name = "申请失败条数")
    private Long failTotal;

    /* 扣款成功条数*/
    @Excel(name = "扣款成功条数")
    private Long deductionSutotal;

    /* 扣款失败条数*/
    @Excel(name = "扣款失败条数")
    private Long deductionFautotal;

    /** 是否删除（0否；1是） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getDeductionSutotal(){return deductionSutotal;}
    public void setDeductionSutotal(Long deductionSutotal){this.deductionSutotal = deductionSutotal;}

    public Long getDeductionFautotal(){return deductionFautotal;}
    public void setDeductionFautotal(Long deductionFautotal){this.deductionFautotal = deductionFautotal;}


    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTotal(Long total) 
    {
        this.total = total;
    }

    public Long getTotal() 
    {
        return total;
    }
    public void setSuccessTotal(Long successTotal) 
    {
        this.successTotal = successTotal;
    }

    public Long getSuccessTotal() 
    {
        return successTotal;
    }
    public void setFailTotal(Long failTotal) 
    {
        this.failTotal = failTotal;
    }

    public Long getFailTotal() 
    {
        return failTotal;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("total", getTotal())
            .append("successTotal", getSuccessTotal())
            .append("failTotal", getFailTotal())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
